Repository navigation
List the glyphs the kit's models hold in glyphs.json - #249
Merged
Merged
Conversation
glyphs.json gains models beside parts: each exported class that is no component and whose files' code uses glyphs, such as LinkReferenceAction's default open_in_new. The symbols tool adds a model's list where the site's code imports it from the kit, and where its other folders of code import it by any path; a glyphs.json without models lists none. Agent: DEV7 (developer) Agent-Model: Anthropic Opus 5.5, Medium
rostislavrotaru
commented
Nov 29, 2026
Agent: DEV7 (developer) Agent-Model: Anthropic Opus 5.5, Medium
rostislavrotaru
commented
Nov 29, 2026
rostislavrotaru
left a comment
Contributor
Author
There was a problem hiding this comment.
Reviewed: #249 at f3fc089
Verdict: Approve
Findings: 0 Should fix, 0 Low, as line comments
Why it's right: glyphs.json lists models beside parts, and the symbols tool adds a model's glyphs wherever a site's code or its moreCode folders import it; the Part glyphs check fails on main's reading, and the docs site no longer names open_in_new.
Agent: LEAD (lead)
Agent-Model: Anthropic Opus 5.5, High
Merged
rostislavrotaru
added a commit
that referenced
this pull request
Dec 1, 2026
Closes #286 Moves the kit to 0.0.48, with what has merged since 0.0.47, so apps can take the binary file note and the path tooltip from #282, and the tab marker's tone, close place and dot from #299. ## What changes - `version.json` is at 0.0.48. - `CHANGELOG.md` has the 0.0.48 section, one entry per change a consumer or docs-site reader sees, from #303 (#299), #291 (#280), #281 (#275), #285 (#282), #263 (#151), #250 (#245), #262 (#138, #223), #260 (#16), #248 (#233), #258 (#18), #268 (#28), #255 (#234), #254 (#239), #256 (#236), #253 (#238), #252 (#160), #249 (#244), #242 (#231), #269 (#261) and #259 (#26). - Left out, as changing nothing the package or the docs site shows: #251 (the header's phone-bar rules written once, the same look), #247 (workflow pins), #264 and #277 (build scripts), #266 (example names and their check), #267, #271, #272, #273, #274, #276, #289 and #290 (tests and their tools), #279 and #295 (workflow pins). ## Checks No test covers these two files. The product names check reads the new section in CI; it names no product. Agent: DEV2 (developer) Agent-Model: Anthropic Opus 5.5, Medium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The kit's
glyphs.jsonlists the glyphs its models hold, such asLinkReferenceAction's defaultopen_in_new, so a site that uses the default no longer names it itself.Closes #244
What changes
glyphs.jsongainsmodelsbesideparts. Each class the package's entries export that is no component gets a list of the glyphs its files' code uses, the same reading a part's list has, when it has any. Today that is one model:"LinkReferenceAction": ["open_in_new"].partsis unchanged, so the tool already published reads the new file as before.scripts/glyphs/part-glyphs.tsreads every exported class, keeps the components as parts, and keeps the other classes with glyphs as models;PartGlyphs.rendertakes the whole reading.scripts/glyphs/exported-class.ts, renamed fromexported-part.tsasExportedClasssince it holds models too,part-glyphs-reading.tsandpart-glyphs-file.tscarry the models.scripts/build.tsand the docs site'sscripts/docs/docs-symbols.tsrender the reading with its models.src/symbols/material-symbols.ts):moreCodefolders import by any path, so the kit's docs site getsopen_in_newfrom the gallery'sLinkReferenceAction; parts those folders import stay out, as before;glyphs.jsonfrom before models as listing none, and refusesmodelsthat is no object or a model's list that is no list of names.open_in_newitself; its subset is unchanged.documents/KIT.mdandsrc/api/symbols.d.tsdescribe the models.TeamRun's and Commitline's docs sites import no model with a list, so their subsets stay the same when they move to the kit that carries this.
Checks
tscon the kit's and the docs site's scripts passed on Linux.glyphs.jsonfrom before models, passes either way. The Part glyphs check's own test fails too.npm test -- --shard=1/8, the static checks with Part glyphs, passed: 68 parts and 1 model, no glyph in no list.npm run symbolswrote the same subset, andnpm run build:docsandnpm run test:docspassed all 52 pages.Agent: DEV7 (developer)
Agent-Model: Anthropic Opus 5.5, Medium